import request from "/@/utils/request"



/**
 * 获取资产卡片盘点列表
 * @param obj
 */
export function getAssetCardCheckStockList(obj?: Object) {
    return request({
        url: '/wms/AssetCardCheckStock/GetAssetCardCheckStockList',
        method: 'post',
        data: obj
    })
}

/**
 * 根据主表获取资产卡片盘点明细
 * @param obj
 */
export function getAssetCardCheckStockDetailList(obj?: Object) {
    return request({
        url: '/wms/AssetCardCheckStock/GetAssetCardCheckStockDetailList',
        method: 'post',
        data: obj
    })
}

/**
 * 创建资产卡片盘点单
 * @param obj
 */
export function createAssetCardCheckStockOrder(obj?: Object) {
    return request({
        url: '/wms/AssetCardCheckStock/CreateAssetCardCheckStockOrder',
        method: 'post',
        data: obj
    })
}

/**
 * 启动资产卡片盘点
 * @param obj
 */
export function startAssetCardCheckStockOrder(obj?: Object) {
    return request({
        url: '/wms/AssetCardCheckStock/StartAssetCardCheckStockOrder',
        method: 'post',
        data: obj
    })
}

/**
 * 删除资产卡片盘点
 * @param obj
 */
export function deleteAssetCardCheckStockOrder(obj?: Object) {
    return request({
        url: '/wms/AssetCardCheckStock/DeleteAssetCardCheckStockOrder',
        method: 'post',
        data: obj
    })
}

/**
 * 结案资产卡片盘点
 * @param obj
 */
export function closeAssetCardCheckStockOrder(obj?: Object) {
    return request({
        url: '/wms/AssetCardCheckStock/CloseAssetCardCheckStockOrder',
        method: 'post',
        data: obj
    })
}

/**
 * 反审资产卡片盘点
 * @param obj
 */
export function unAuditAssetCardCheckStockOrder(obj?: Object) {
    return request({
        url: '/wms/AssetCardCheckStock/UnAuditAssetCardCheckStockOrder',
        method: 'post',
        data: obj
    })
}
